var wcmp = require('../wechat/index').wcmp;
var storeService = require('../services/storeService');
var idHelper = require('../common/utils/id-helper');
var indexController = {
	index: function (req, res, next) {

		if (idHelper.checkSignature(req)) {
			res.send(req.query.echostr);
		} else {
			res.send("not weixin");
		}
	}
}


module.exports = indexController;